﻿<!--Copyright 2010 http://tv4home.codeplex.com
This file is part of TV4Home.Client.TVViewer.
TV4Home.Client.TVViewer is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
TV4Home.Client.TVViewer is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with TV4Home.Client.TVViewer. If not, see http://www.gnu.org/licenses/-->
    <Page x:Class="TV4Home.Client.Desktop.TVViewer.Pages.TVViewer"
               xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
        xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
      xmlns:my="clr-namespace:TV4Home.Client.Desktop.TVViewer.Controls"
      SnapsToDevicePixels="True"
      mc:Ignorable="d" Margin="0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" MinHeight="250" MinWidth="505" Loaded="Page_Loaded" Unloaded="Page_Unloaded">
    <Page.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="../Assets/CoreStyles.xaml"/>
                <ResourceDictionary Source="../Assets/CommonResources.xaml"/>
                <ResourceDictionary Source="../Assets/Styles.xaml"/>
            </ResourceDictionary.MergedDictionaries>


        </ResourceDictionary>
    </Page.Resources>
    <Grid Margin="0,0,0,0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" >
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="234" />
                <ColumnDefinition Width="776*" />
                <ColumnDefinition Width="9*" />
            </Grid.ColumnDefinitions>      
            <Grid x:Name="grdProgram" Margin="3,14,5,14" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
                <Rectangle Margin="0,0,0,0" Stroke="#FF2D2D2D" Fill="Transparent" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
                    <Rectangle.Effect>
                        <DropShadowEffect Opacity="0.695" BlurRadius="14" ShadowDepth="0" Color="#FF434343"/>
                    </Rectangle.Effect>
                </Rectangle>
                <TreeView Name="trvTVChEpg" ScrollViewer.HorizontalScrollBarVisibility="Disabled" Margin="0,0,0,0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Background="Transparent">
                    <TreeView.ItemContainerStyle>
                        <Style TargetType="{x:Type TreeViewItem}">
                            <EventSetter Event="Selected" Handler="trvTVChEpg_Selected" />
                            <Style.Triggers>
                                <Trigger Property="IsSelected" Value="True">
                                    <Setter Property="Background" Value="LightGray" />
                                </Trigger>
                            </Style.Triggers>
                        </Style>
                    </TreeView.ItemContainerStyle>

                </TreeView>
            </Grid>

            <Border x:Name="brdMediaElement" Margin="14" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Grid.Column="1" BorderBrush="WhiteSmoke" MouseMove="Page_MouseMove" BorderThickness="1">
           
            </Border>         
        </Grid>       
    </Grid>

</Page>
